<template>
  <div class="MyRefresh el-button">
    <el-tooltip class="item" effect="dark" content="刷新" placement="top">
       <el-button class="table-btn" icon="el-icon-refresh" size="small"  @click="handleReload()"></el-button>
    </el-tooltip>
  </div>
</template>

<script>
 export default {
   name: 'MyRefresh',
   inject: ['reload'],
   data(){
     return{
       loading:false
     }
   },
   mounted() {

   },
   methods:{
    handleReload(){
      this.reload();
    }
   }
 }
</script>

<style lang="scss" scoped>
  .MyRefresh{
    padding:0px;
    border:none;
  }

</style>
